finDimer_V4.py